package cn.nubia.admin.sysconfig.bean;

import cn.nubia.admin.common.mybatis.annotations.Id;
import cn.nubia.admin.common.mybatis.annotations.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2015/6/26.
 */
@Table(value = "t_sys_config")
public class SysConfig implements Serializable {


    public static final int IS_SYSTEM = 1;
    public static final int NOT_SYSTEM = 0;




    private static final long serialVersionUID = -8244661101951482489L;
    /**
     * 自增id.
     */
    @Id(value = "config_id")
    private Integer id;

    /**
     * key.
     */
    private String name;

    /**
     * value.
     */
    private String value;

    /**
     * 描述.
     */
    private String description;

    /**
     * 创建时间.
     */
    private Date createTime;

    /**
     * 更新时间.
     */
    private Date updateTime;

    /**
     * 是否系统配置 否：0 是：1
     */
    private Integer isSystem;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsSystem() {
        return isSystem;
    }

    public void setIsSystem(Integer isSystem) {
        this.isSystem = isSystem;
    }
}
